import "core-js/stable";
import "regenerator-runtime/runtime";
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.less";
import Directive from "@/directive";
import { createPinia } from "pinia";
// pinia持久化缓存插件
import piniaPersist from "pinia-plugin-persist";
import "lyz-vue-core";
import './mock/mock';
const app = createApp(App);

const pinia = createPinia();
pinia.use(piniaPersist);
app.use(pinia);
app.use(Antd);
app.use(Directive);
app.use(router);
app.mount("#app");
